package com.qlzb.taskmanagement.vo.query;

import com.qlzb.taskmanagement.vo.base.BaseQueryVo;

import javax.validation.constraints.Min;

/**
 * Created with IntelliJ IDEA.
 *
 * @ClassName CommonBaseQueryVo
 * @Description TODO    公共基础查询 QueryVo
 * @Authr 袁聪
 * @Date 2018/10/20 16:40
 * @Version v2.0
 */
public class CommonBaseQueryVo extends BaseQueryVo {

    private static final long serialVersionUID = -890037559615940795L;
    protected String id;

    protected String name;

    protected String startTime;

    @Override
    public String toString() {
        return "CommonBaseQueryVo{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", startTime='" + startTime + '\'' +
                ", endTime='" + endTime + '\'' +
                ", pageNum='" + pageNum + '\'' +
                ", pageSize='" + pageSize + '\'' +
                ", queryType='" + queryType + '\'' +
                ", queryData='" + queryData + '\'' +
                ", sortType='" + sortType + '\'' +
                ", sortData='" + sortData + '\'' +
                ", status='" + status + '\'' +
                ", provinceId='" + provinceId + '\'' +
                ", cityId='" + cityId + '\'' +
                ", areaId='" + areaId + '\'' +
                ", authOfficeId='" + authOfficeId + '\'' +
                ", seqNo='" + seqNo + '\'' +
                ", areaList=" + areaList +
                '}';
    }

    protected String endTime;

    @Min(value = 1,message = "分页最小值为1")
    protected String pageNum;

    @Min(value = 1,message = "分页每页展示最小值为1")
    protected String pageSize;

    protected String queryType;

    protected String queryData;

    // 排序类型（ASC;DESC）
    protected String sortType;
    // 排序字段
    protected String sortData;

    //利用status区间来区分 提现操作  和审核操作
    private String status;

    private String provinceId;
    private String cityId;
    private String areaId;

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getQueryType() {
        return queryType;
    }

    public void setQueryType(String queryType) {
        this.queryType = queryType;
    }

    public String getQueryData() {
        return queryData;
    }

    public void setQueryData(String queryData) {
        this.queryData = queryData;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getPageNum() {
        return pageNum;
    }

    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }

    public String getPageSize() {
        return pageSize;
    }

    public void setPageSize(String pageSize) {
        this.pageSize = pageSize;
    }


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getSortType() {
        return sortType;
    }

    public void setSortType(String sortType) {
        this.sortType = sortType;
    }

    public String getSortData() {
        return sortData;
    }

    public void setSortData(String sortData) {
        this.sortData = sortData;
    }

}
